/**
 * 
 */
package com.scpii.universal.service.impl;


import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.scpii.universal.hibernate.dao.AppUpdateDao;
import com.scpii.universal.hibernate.entity.AppUpdateTab;
import com.scpii.universal.service.AppUpdateService;

/**
 * genericWeb
 * @author weny
 * 2012-7-8下午09:35:06
 */
@Service
public class AppUpdateServiceImpl extends BaseServiceImpl<AppUpdateTab, Integer> implements
		AppUpdateService {

	@Resource
	private AppUpdateDao appUpdateDao;

	@Resource
	public void setBaseDao(AppUpdateDao appUpdateDao) {
		super.setBaseDao(appUpdateDao);
	}


	@Override
	public AppUpdateTab getVersionUpdateInfo(int appId,
			String[] properties, int type) {
		return appUpdateDao.getVersionUpdateInfo(appId, properties, type);
	}


	@Override
	public AppUpdateTab getMaxVersion(int appId, String[] properties, int type) {
		return appUpdateDao.getMaxVersion(appId, properties, type);
	}
}
